
<div class="header-line">

    <div class="container ">
        <div class="row">
            <div class="col-xs-2 box-left">
                Carros e Motos
            </div>
            <div class="col-xs-8 box-center headline-center-links">
                <div class="header-line-page-links">
                    <a href="#"><</a>
                    <a href="#">1</a>
                    <a href="#">2</a>
                    <a href="#">3</a>
                    <a href="#">4</a>
                    <a href="#">></a>  
                </div>

                <!--                <div class="abas-condicoes">
                                    <a href="#previewCondicoes" role="previewCondicoes" class="aba-habiltar">
                                        <small>Habilite-se</small>
                                        Cond. de Venda e Pagamento
                                    </a>
                                    <a href="#previewPainelOnline" role="previewPainel" class="aba-leiloes">
                                        <small>Painel Online</small>
                
                                    </a>
                                </div>-->
            </div>
            <div class="col-xs-2 box-right">

            </div>
        </div>
    </div>

</div>

<div class="container">
    <div class="row">
        <!-- COLUMN RIGHT -->   
        <?php echo $sidebar; ?>
        <!-- COLUMN RIGHT -->
        <div class="col-sm-10 col-md-10">
               
            <?php
            if ($lotes_by_categorie && count($lotes_by_categorie) > 0):

                foreach ($lotes_by_categorie as $lote):
                    // inicialize loop lotes
                    ?>
                    <div  class="row">
                        <div class="col-md-10 col-sm-10">
                            <div class="col-md-2 col-sm-2">
                                <?php echo add_image('lotes/lote_' . $lote->codlote . '.jpg', 'class="thumbnail" '); ?>
                            </div>   
                            <div class="col-md-8 col-sm-8">
                                <span class="lote-detail-header">
                                    <?php  echo add_image('/comitentes/lote_'.$lote->LOGO, ''); ?>
                                </span>
                                <h3 class="lote-grid-detail-title"><?php echo $lote->titulo; ?></h3>
                                <div class="lote-grid-dedail-info">
                                    <?php echo $lote->descricao; ?>
                                </div>
                            </div>
                            <div class="col-md-2 col-sm-2">
                                <a href="<?php echo site_url('ver-ativos/' . $lote->id . '/' . $lote->codlote); ?>"class="btn btn-seguir-oferta"><span class="icone-star"></span> Seguir Oferta</a>
                                <span class="grid-detail-buttons-info">encerramento<br/> <?php echo auto_format_data($lote->datafim, '-', '/'); ?><br/><?php echo $lote->horafim; ?></span>
                            </div>

                        </div>
                        <div class="col-md-2 col-sm-2">
                            <h5>Valor atual</h5>
                            <h3>R$32.000,00</h3>
                            <div class="box-status">
                                <div class="status red"></div>
                                <div class="text">
                                    Em andamento aberto para lances
                                </div>
                            </div>
                            <span class="lote-views-totais-visitas">Visitas <br/><strong>713</strong></span>
                            <span class="lote-views-totais-compradores">Compradores<br/> <strong>3</strong></span>
                            <span class="lote-views-totais-lances">Lances <br/><strong>5</strong></span>

                        </div>

                    </div>


                    <?php
                endforeach;
                ?>


                <?php
            endif;
            ?>





        </div>

    </div>
</div>

